<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--定义编码格式 必须加 不加乱码--%>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" import="java.util.*"
         isELIgnored="false" %>
<nav class="navbar-default navbar-static-side" role="navigation" >
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="slimScrollDiv" style="position: relative; width: auto; height: 100%;"><div class="sidebar-collapse" style="width: auto; height: 100%;">
        <ul class="nav" id="side-menu">
            <c:forEach items="${permissions}" var="permission">
                <c:forEach items="${permission.menus}" var="menu">
                    <li class="">
                        <a href="${menu.url}"><i class="fa fa-envelope"></i> <span class="nav-label">${menu.menuName} </span><span class="label label-warning pull-right">16</span></a>
                    </li>
                </c:forEach>
            </c:forEach>
        </ul>
    </div><div class="slimScrollBar" style="background: rgb(0, 0, 0); width: 4px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 738px;"></div><div class="slimScrollRail" style="width: 4px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51); opacity: 0.9; z-index: 90; right: 1px;"></div></div>
</nav>
